/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package validatortest.view;

import javax.swing.JScrollPane;
import validatortest.validator.FormControl;

/**
 *
 * @author Habib
 */
public class Quesioner extends javax.swing.JPanel {

    /**
     * Creates new form Quesioner
     */
    public Quesioner() {
        initComponents();
        FormControl.setScoller(scroll);
    }

    public JScrollPane getScroll() {
        return scroll;
    }
    
    
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        scroll = new javax.swing.JScrollPane();
        blok1231 = new validatortest.view.Blok123();
        blok41 = new validatortest.view.Blok4();

        setLayout(new java.awt.CardLayout());

        scroll.setViewportView(blok1231);

        add(scroll, "card2");
        add(blok41, "card3");
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private validatortest.view.Blok123 blok1231;
    private validatortest.view.Blok4 blok41;
    private javax.swing.JScrollPane scroll;
    // End of variables declaration//GEN-END:variables
}
